// 房间价格表
const {sequelize} = require("./db")
const {DataTypes} =require("sequelize")
const RoomRate = sequelize.define("RoomRate",{
    peopleNum:{
        type: DataTypes.INTEGER,
        allowNull: false
    },
    price:{
        type: DataTypes.INTEGER,
        allowNull: false
    }
},{
    createdAt:false,
    updatedAt:false,
    paranoid:true,
    freezeTableName: true
})

exports.RoomRate = RoomRate